//
//  PlayTableViewCell.m
//  MyTrip
//
//  Created by dllo on 15/9/29.
//  Copyright (c) 2015年 张益. All rights reserved.
//

#import "PlayTableViewCell.h"

@interface PlayTableViewCell()

@end


@implementation PlayTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createrView];
    }
    return self;
}
-(void)createrView
{
    UIImageView *ima = [[UIImageView alloc]initWithFrame:CGRectMake(10,5, 80, 80)];
    ima.layer.cornerRadius=10;
    ima.backgroundColor=[UIColor yellowColor];
    [self.contentView addSubview:ima];
    
     self.label = [[UILabel alloc]initWithFrame:CGRectMake(10, 90, 80, 25)];
     _label.backgroundColor=[UIColor redColor];
    self.label.textAlignment = NSTextAlignmentCenter;
    [self.contentView addSubview:_label];
    
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
